package 单元测试;

public class Calculator {
   private long n = 0;

   public long add(long x) {
       n = n + x;
       return n;
   }

   public long sub(long x) {
       n = n - x;
       return n;
   }
}
